|
|
|
|
|
|
|
By putting controls into a frame, you identify them as being a part of a group. The frame control is what is known as a container control. A container control is any control that acts as a parent to all the controls within it. This is similar to a form, which has many controls on it, and those controls are all governed by the action of the form. |
|
|
|
|
| Add a Frame Control to Group Controls 1. Add a frame in the lower-right corner of the Employee form. 2. Set the Name property to fraSex. 3. Set the Caption property to Sex. 4. Make sure you form looks like the one shown in Figure 3.6. | | | | |
|
|
|
|
Figure 3.6
The Employee Information form with a frame control. |
|
|
|
|  | A frame control is typically used to group other controls. Be sure to draw the frame first, give it focus, and then draw the other controls on top of the frame. | | Examples Filename: Employee4.frm |
|
|
|